Piwik\CliMulti\Process A

Total Complexity 58
Dependencies 5
Dependents 5
Total lines 285
Lines of code 182
Logical lines of code 106
Comment lines 14
Methods 24
Properties 6

Methods 24

Method Rating Maintainability Complexity Lines of code
isSupported()
A
49 14 30
isRunning()
S
59 5 17
checkPidIfHasStarted()
S
62 4 12
isProcessStillRunning()
S
66 3 8
isMethodDisabled()
S
65 3 8
isSystemNotSupported()
S
64 3 10
__construct()
S
61 2 12
getListOfRunningProcesses()
S
68 2 7
markAsNotStarted()
S
69 2 7
hasStarted()
S
71 2 6
hasFinished()
S
69 2 7
isProcFSMounted()
S
67 2 7
pidFileSizeIsNormal()
S
74 2 4
isForcingAsyncProcessMode()
S
69 2 7
commandExists()
S
74 1 4
returnsSuccessCode()
S
70 1 6
doesPidFileExist()
S
80 1 3
writePidFileContent()
S
80 1 3
getPidFileContent()
S
80 1 3
finishProcess()
S
76 1 4
startProcess()
S
81 1 3
getSecondsSinceCreation()
S
80 1 3
getPid()
S
82 1 3
getRunningProcesses()
S
66 1 8